<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @font-face {
            /* 1.这个字体名称要注意  icomoon */
        font-family:'icomoon';
            /* 2.一定要注意路径的问题  icomooon文件要和fonts文件放在一起*/
        scr: url('fonts/icomoon.eot?7kkyc2');
        src: url('fonts/icomoon,eot?7kkyc2#iefix') format( 'embedded-opentype'),
            url('fonts/icomoon.ttf?7kkyc2') format('truetype'),
            url('fonts/icomoon.woff?7kkyc2') format( 'woff'),
            url('fonts/icomoon.svg?7kkyc2#icomoon') format('svg');
        font-weight: normal;
        font-style: normal;
        }

        span ,
        div,
        strong {
            font-family: 'icomoon';
            font-size: 50px;
            color: red;
        }


    </style>
</head>
<body>
    <span>  </span>
    <br>
    <div>  </div><br>
    <strong>  </strong>
</body>
</html>